//@json
function main(tbl){
	let num=dao.count("sys_unit",Cnd.where("pid","=",tbl.id))
	if(num>0){
		return {code:-1,msg:'存在子单位无法删除!'}
	}
	//dao.delete("sys_user",Cnd.where("id","=",tbl.id))
	return {code:0,msg:'删除功能暂时已停用请联系管理员开启!'}
}